﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace CallbackService
{
    public interface IMyContractCallback
    {
        [OperationContract]
        int OnCallback();
    }

    [ServiceContract(CallbackContract = typeof(IMyContractCallback))]
    public interface IMyContract
    {
        [OperationContract()]
        int MyMethod();
    }

}
